package typeresolver;

import pageblock.PageBlock;

/**
 * Created by IntelliJ IDEA.
 * User: Evgeniy Krasko
 * Date: 01.12.11
 * Time: 23:23
 */
public class ChangesDetector {
    public static boolean blockChanged(final PageBlock oldBlock, final PageBlock newBlock) {
        return oldBlock == null || newBlock == null || oldBlock.getContentHashCode() != newBlock.getContentHashCode();
    }
}
